
package com.ktgj.common.spring.entity.iata.iata_servicelistrq;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>OriginDestType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="OriginDestType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="DestStationCode" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="OriginDestID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="OriginStationCode" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="PaxJourney" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}PaxJourneyType"/&gt;
 *         &lt;element name="SegmentDurationCriteria" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}SegmentDurationCriteriaType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginDestType", propOrder = {
    "destStationCode",
    "originDestID",
    "originStationCode",
    "paxJourney",
    "segmentDurationCriteria"
})
public class OriginDestType {

    @XmlElement(name = "DestStationCode", required = true)
    protected String destStationCode;
    @XmlElement(name = "OriginDestID")
    protected String originDestID;
    @XmlElement(name = "OriginStationCode", required = true)
    protected String originStationCode;
    @XmlElement(name = "PaxJourney", required = true)
    protected PaxJourneyType paxJourney;
    @XmlElement(name = "SegmentDurationCriteria")
    protected SegmentDurationCriteriaType segmentDurationCriteria;

    /**
     * 获取destStationCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDestStationCode() {
        return destStationCode;
    }

    /**
     * 设置destStationCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDestStationCode(String value) {
        this.destStationCode = value;
    }

    /**
     * 获取originDestID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOriginDestID() {
        return originDestID;
    }

    /**
     * 设置originDestID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOriginDestID(String value) {
        this.originDestID = value;
    }

    /**
     * 获取originStationCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOriginStationCode() {
        return originStationCode;
    }

    /**
     * 设置originStationCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOriginStationCode(String value) {
        this.originStationCode = value;
    }

    /**
     * 获取paxJourney属性的值。
     * 
     * @return
     *     possible object is
     *     {@link PaxJourneyType }
     *     
     */
    public PaxJourneyType getPaxJourney() {
        return paxJourney;
    }

    /**
     * 设置paxJourney属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link PaxJourneyType }
     *     
     */
    public void setPaxJourney(PaxJourneyType value) {
        this.paxJourney = value;
    }

    /**
     * 获取segmentDurationCriteria属性的值。
     * 
     * @return
     *     possible object is
     *     {@link SegmentDurationCriteriaType }
     *     
     */
    public SegmentDurationCriteriaType getSegmentDurationCriteria() {
        return segmentDurationCriteria;
    }

    /**
     * 设置segmentDurationCriteria属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link SegmentDurationCriteriaType }
     *     
     */
    public void setSegmentDurationCriteria(SegmentDurationCriteriaType value) {
        this.segmentDurationCriteria = value;
    }

}
